import request from '@/sheep/request';

export default {
  area: () =>
    request({
      url: '/h5/area',
      method: 'GET',
    }),
  category: (body) =>
      request({
        url: '/no-auth/category/all-categories',
        method: 'POST',
        data: body
      }),
  faq: () =>
    request({
      url: 'data/faq',
      method: 'GET',
    }),
  richtext: (id) =>
    request({
      url: '/no-auth/protocol/' + id,
      method: 'GET',
    }),
};
